#pragma once

#include "../message_handler.hpp"
#include <libwebsockets.h>
#include <nlohmann/json.hpp>

/**
 * @class RegisterHandler
 * @brief 注册消息处理器
 * @details 处理用户注册相关的消息
 */
class RegisterHandler : public MessageHandler {
public:
    void handle(struct lws *wsi, const nlohmann::json& data) override;
    std::string getType() const override { return "register"; }
}; 